{% extends "base.html" %}
{% block main %}

<table cellpadding="5" cellspacing="0" align="center" width="90%">
    <tr><td><a href="{% url bb.views.add_talk topic.id %}">发表回复</a></td></tr>
</table>
<table width="90%" border="0" cellpadding="5" cellspacing="1" bgcolor="#FFFFFF" align="center">
    <tbody>
        {% for talk in talks %}
        <tr bgcolor="#e1ebf2">
            <td width="70%">
                <h1>{{ talk.title }}</h1>
                <p>by <a href="">{{ talk.author }}</a> {{ talk.created|date:"Y-m-d H:i"}}</p>
                <p>
                {{ talk.body|safe }}
                </p>
            </td>
            <td valign="top">{{ talk.author }}</td>
        </tr>
        {% endfor %}
    </tbody>
</table>
{% endblock %}